package java6;

import java.util.Scanner;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * @date 2023/4/17 10:45
 * 判断体重指数
 * https://www.nowcoder.com/practice/688f96cc38bb4a76996698d2f987b1b5?tpId=220&tqId=2109873&ru=/exam/oj&qru=/ta/primary-grammar-java/question-ranking&sourceUrl=%2Fexam%2Foj
 */
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double height = scanner.nextDouble();
        double weight = scanner.nextDouble();
        String check = check(height, weight);
        System.out.println(check);
    }

    private static String check(double height, double weight) {
        double checkNum = weight / (height * height);
        if (checkNum < 18.5) {
            return "偏瘦";
        }
        if (checkNum > 24.9) {
            return "偏胖";
        }
        if (checkNum >= 20.9) {
            return "适中";
        }
        return "苗条";
    }
}
